﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class WilltellModel
    {
        [Key]
        public int id { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string? WiteTitle { get; set; }
        /// <summary>
        /// 会告内容
        /// </summary>
        public string? WiteDesc { get; set; }
        /// <summary>
        /// 会告照片
        /// </summary>
        public string? Photo { get; set; }
        /// <summary>
        /// 会告状态 (显示||隐藏)
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 发布类型
        /// </summary>
        public int WiteType { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Createtime { get; set; }= DateTime.Now;
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime Updatetime { get; set; } = DateTime.Now;
        public bool IsDeleted { get; set; } = false;
    }
}
